<template>
	<view class="content">
		<view class="header">
			<view class="header_bg">
				<view class="search">
					<image src="../../../static/home/search.png" mode=""></image>
					<input type="text" value="" placeholder="搜素" />
				</view>
			</view>

			<view class="dealer" v-for="(item,index) in list">
				<view class="dealer1">
					<text>{{item.title}}</text>
				</view>
				<view class="dealer2">
					<button type="default">邀请成为代理</button>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list:[
					{
						id:0,
						title:'经销商名称'
					},
					{
						id:0,
						title:'经销商名称'
					},
					{
						id:0,
						title:'经销商名称'
					}
				]
			}
		},
		methods: {

		}
	}
</script>

<style>
	.content {
		width: 750rpx;
		height: 1624rpx;
		background: #FAFAFA;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
		
	}

	.header {
		width: 750rpx;
		height: 240rpx;
		background: linear-gradient(180deg, #1789FF 0%, #93C3F9 100%);
		border-radius: 0rpx 0rpx 0rpx 0rpx;
	}

	.header_bg {

		padding-top: 32rpx;
	}

	.search {
		width: 690rpx;
		height: 88rpx;
		background: #FFFFFF;
		border-radius: 8rpx 8rpx 8rpx 8rpx;
		display: flex;
		align-items: center;
		margin: auto;
	}

	.search image {
		width: 34rpx;
		height: 34rpx;
		margin-left: 24rpx;
	}

	.search input {
		margin-left: 30rpx;
	}

	.dealer {
		width: 690rpx;
		height: 116rpx;
		background: #FFFFFF;
		border-radius: 4rpx 4rpx 4rpx 4rpx;
		margin: 40rpx auto 0;
		display: flex;
		align-items: center;
	}

	.dealer1 {
		font-family: PingFang SC, PingFang SC;
		font-weight: bold;
		font-size: 32rpx;
		color: #333333;
		margin-left: 40rpx;
	}

	.dealer2 {
		margin-left: auto;
		margin-right: 32rpx;
	}

	.dealer2 button {
		width: 240rpx;
		height: 64rpx;
		background: #409CFD;
		border-radius: 4rpx 4rpx 4rpx 4rpx;
		font-family: PingFang SC, PingFang SC;
		font-weight: 500;
		font-size: 28rpx;
		color: #FFFFFF;
		display: flex;
		justify-content: center;
		align-items: center;
	}
</style>